package edu.zju.gis.dldsj.dao;

import edu.zju.gis.dldsj.entity.AirflowDagStats;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AirflowDagStatsMapper {
    int deleteByPrimaryKey(AirflowDagStats key);

    int insert(AirflowDagStats record);

    int insertSelective(AirflowDagStats record);

    AirflowDagStats selectByPrimaryKey(@Param("dagId") String dagId, @Param("state") String state);

    int updateByPrimaryKeySelective(AirflowDagStats record);

    int updateByPrimaryKey(AirflowDagStats record);

    List<AirflowDagStats> selectByDagId(String dagId);
}